
//------------------------------------------------------------------------------

namespace Apps.Models
{
    using System.ComponentModel.DataAnnotations.Schema;
    using System;
    using System.Collections.Generic;

    [Table("SYSMODULE")]
    public partial class SysModule
    {
        public SysModule()
        {
            this.SysModule1 = new HashSet<SysModule>();
            this.SysModuleOperate = new HashSet<SysModuleOperate>();
            this.SysRight = new HashSet<SysRight>();
            this.SysModuleDataFilter = new HashSet<SysModuleDataFilter>();
        }

        [Column("ID"), System.ComponentModel.DataAnnotations.Key]
        public string Id { get; set; }
        [Column("NAME")]
        public string Name { get; set; }
        [Column("ENGLISHNAME")]
        public string EnglishName { get; set; }
        [Column("PARENTID")]
        public string ParentId { get; set; }
        [Column("URL")]
        public string Url { get; set; }
        [Column("ICONIC")]
        public string Iconic { get; set; }
        [Column("SORT")]
        public Nullable<int> Sort { get; set; }
        [Column("REMARK")]
        public string Remark { get; set; }
        [Column("ENABLE")]
        public bool Enable { get; set; }
        [Column("CREATEPERSON")]
        public string CreatePerson { get; set; }
        [Column("CREATETIME")]
        public Nullable<System.DateTime> CreateTime { get; set; }
        [Column("ISLAST")]
        public bool IsLast { get; set; }
        [Column("VERSION")]
        public string Version { get; set; }
        public string PATH { get; set; }
        public virtual ICollection<SysModule> SysModule1 { get; set; }
        public virtual SysModule SysModule2 { get; set; }
        public virtual ICollection<SysModuleOperate> SysModuleOperate { get; set; }
        public virtual ICollection<SysRight> SysRight { get; set; }
        public virtual ICollection<SysModuleDataFilter> SysModuleDataFilter { get; set; }
    }
}
